package com.fu.web.controler;

import com.fu.web.service.testService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test")
public class testControl {
    @Autowired
    private testService testService;

    @RequestMapping("test01")
    public  @ResponseBody void show(){
        testService.showAlldepart();


    }
}
